package com.hkts.naturalgas.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassNameIpLimit
 * @Description 限流数据初始化
 * @Author yck
 * @Date2020-11-09 14:00
 * @Version V1.0
 **/
@Data
@Configuration
@ConfigurationProperties(prefix = "naturalgas.iplimit")
public class IpLimit {
    private boolean enable;
    private  Integer capacity;
    private  Integer refillTokens;
    private  Integer seconds;
}
